    <admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#">分公司管理</a></li>
        <li><a href="{:U('company_branch_add')}">添加分公司</a></li>

    </ul>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th align="center">序号</th>
              <!--  <th>类别父id</th> -->
                <th>上级公司名称</th>
                <th>分公司名称</th>
            <!--    <th>层级</th>-->
                <th>排序</th>
                <th align="center">
                    操作
                </th>
            </tr>
            </thead>
            <tbody>
            <foreach name="company_branch" item="vo" key="k">

                    <td align="center">{$k+1}</td>
                <!--    <td>{$vo['parent_id']}</td> -->
                    <td>{$vo['company_name']}</td>
                    <td>{$vo['b_name']}</td>
               <!--     <td>{$vo['level']}</td> -->
                    <td>{$vo['sort']}</td>
                    <td align="center">
                        <a href="{:U('company_branch_edit')}&id={$vo.id}">编辑</a>&nbsp;&nbsp;
                    </td>
                </tr>

            </foreach>
            </tbody>
        </table>
        <if condition="empty($helpTypeData)">
            <div style="padding: 30px;text-align: center;color: #999999">
                <i class="fa fa-database" style="font-size: 38px"></i><br />
                暂无数据
            </div>
        </if>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script>

</script>
</body>
</html>